package com.wuneng.ircontrol.module.act;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.wuneng.ircontrol.R;
import com.wuneng.ircontrol.common.util.MyBaseAct;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;


/**
 * 信息查询界面
 */
public class InfoQueryAct extends MyBaseAct {
    @BindView(R.id.tvTitle)
    TextView tvTitle;
    @BindView(R.id.rlBack)
    RelativeLayout rlBack;
    @BindView(R.id.tvRight)
    TextView tvRight;
    @BindView(R.id.btnRight)
    Button btnRight;
    @BindView(R.id.rlTop)
    RelativeLayout rlTop;

    @Override
    protected void bindListener() {

    }

    @Override
    protected void initMyView() {
        tvTitle.setText("信息查询");

    }

    @Override
    protected void initMyData() {

    }

    @Override
    protected int getMyContentViewLayoutID() {
        return R.layout.act_query;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }

    @OnClick({R.id.rlBack, R.id.tvRight})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.rlBack:
                finish();
                break;
            case R.id.tvRight:
                break;
        }
    }
}
